<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>房友地产</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="/bower_components/Ionicons/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
  <!-- AdminLTE Skins. We have chosen the skin-blue for this starter
        page. However, you can choose any other skin. Make sure you
        apply the skin class to the body tag so the changes take effect. -->
  <link rel="stylesheet" href="/dist/css/skins/skin-blue.min.css">
  <link rel="stylesheet" href="/bower_components/layer/skin/default/layer.css">
  <link rel="stylesheet" href="/bower_components/ztree/css/metroStyle/metroStyle.css"/>
  <link rel="stylesheet" href="/bower_components/treegrid/jquery.treegrid.css"/>
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <script src="/bower_components/jquery/dist/jquery.min.js"></script>
  <![endif]-->

  <!-- 时间控件相关 -->
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  <link href="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
  <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <script src="https://cdn.bootcss.com/moment.js/2.24.0/moment-with-locales.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>

  <!-- 图片上传相关 --><!--
  <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
  <link href="https://cdn.bootcss.com/bootstrap-fileinput/5.0.1/css/fileinput.min.css" rel="stylesheet">

  <script src="https://cdn.bootcss.com/jquery/2.2.2/jquery.js"></script>

  &lt;!&ndash; 如果你想在上传之前修改图片大小需要加入canvas-to-blob.min.js  它必须在fileinput.min.js之前引入 &ndash;&gt;
  <script src="https://cdn.bootcss.com/javascript-canvas-to-blob/3.14.0/js/canvas-to-blob.js"></script>

  &lt;!&ndash; 如果你想在最初的预览中排序/重新排列需要引入sortable.min.js  它必须在fileinput.min.js之前引入 &ndash;&gt;
  <script src="https://cdn.bootcss.com/bootstrap-fileinput/5.0.1/js/plugins/sortable.min.js"></script>

  &lt;!&ndash; 如果你想在HTML文件预览中净化HTML内容则要引入purify.min.js is  它必须在fileinput.min.js之前引入 &ndash;&gt;
  <script src="https://cdn.bootcss.com/dompurify/1.0.10/purify.min.js"></script>

  &lt;!&ndash; 主要的 fileinput 插件库 &ndash;&gt;
  <script src="https://cdn.bootcss.com/bootstrap-fileinput/5.0.1/js/fileinput.min.js"></script>

  &lt;!&ndash; 如果你想在放大的模态页面中查看文件详细信息需要引入bootstrap.js &ndash;&gt;
  <script src="https://cdn.bootcss.com/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>

  &lt;!&ndash; 可选，如果你需要像font awesome 这样的主题，就像下面的代码一样引入它 &ndash;&gt;
  <script src="https://cdn.bootcss.com/bootstrap-fileinput/5.0.1/js/locales/fa.min.js"></script>

  &lt;!&ndash; 可选，如果你需要转换语言或翻译，就包含这个库 &ndash;&gt;
  <script src="https://cdn.bootcss.com/bootstrap-fileinput/5.0.1/js/locales/zh.min.js"></script>-->

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <!-- Main Header -->
  <header class="main-header">

    <!-- Logo -->
    <a href="index2.html" class="logo" style="background-color: #3a3427">
      <span class="logo-lg">HEADER</span>
    </a>

    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" style="background-color: #3a3427" role="navigation">
      <!-- Sidebar toggle button-->
      <img src="/dist/img/logo_45.jpg">
      <!-- mini logo for sidebar mini 50x50 pixels -->

      <span class="logo-mini" style="color: red">房友地产</span>
      <!-- logo for regular state and mobile devices -->
      <!--<span class="logo-lg">房友地产</span>-->
      <a href="#" style="padding-top: 20px;color: red;padding-left: 30px" class="glyphicon glyphicon-hand-left" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">4</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">You have 4 messages</li>
              <li>
                <!-- inner menu: contains the messages -->
                <ul class="menu">
                  <li><!-- start message -->
                    <a href="#">
                      <div class="pull-left">
                        <!-- User Image -->
                        <img src="/dist/img/dog1-160.jpg" class="img-circle" alt="User Image">
                      </div>
                      <!-- Message title and timestamp -->
                      <h4>
                        Support Team
                        <small><i class="fa fa-clock-o"></i> 5 mins</small>
                      </h4>
                      <!-- The message -->
                      <p>Why not buy a new awesome theme?</p>
                    </a>
                  </li>
                  <!-- end message -->
                </ul>
                <!-- /.menu -->
              </li>
              <li class="footer"><a href="#">See All Messages</a></li>
            </ul>
          </li>

          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <!-- The user image in the navbar-->
              <img src="/dist/img/dog1-160.jpg" class="user-image" alt="User Image">
              <span class="hidden-xs" id="loginUserId">ssssss</span>
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
            </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <img src="/dist/img/dog1-160.jpg" class="img-circle" alt="User Image">

                <p>
                  Alexander Pierce - Web Developer
                  <small>Member since Nov. 2012</small>
                </p>
              </li>
              <!-- Menu Body -->
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">Followers</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Sales</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Friends</a>
                  </div>
                </div>
                <!-- /.row -->
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">Profile</a>
                </div>
                <div class="pull-right">
                  <a href="doLogout" class="btn btn-default btn-sign-out">Sign out</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar" style="background-color: #3a3427">

    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">

      <!-- Sidebar Menu -->
      <ul class="sidebar-menu" data-widget="tree">
        <!-- <li class="header" style="background-color: #3a3427">HEADER</li>-->
        <!-- Optionally, you can add icons to the links -->
        <li class="treeview">
          <a href="#"><i class="glyphicon glyphicon-star"></i>
            <span>房源管理</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
         </span>
          </a>
          <ul class="treeview-menu">
            <li><a id="load-house-id">有效房源</a></li>
            <li><a id="load-pubhouse-id">房源共享池</a></li>
            <li><a id="load-myhouse-id">我的房源</a></li>
            <li><a id="load-addhouse-id">新增房源</a></li>
            <li><a id="load-testcus-id">客户详情页</a></li>
            <li><a id="load-test-id">房源详情页</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="glyphicon glyphicon-sunglasses"></i>
            <span>客户管理</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
              </span>
          </a>
          <ul class="treeview-menu">
            <li><a id="load-pricustomer-id">私客列表</a></li>
            <li><a id="load-pubcustomer-id">公客池</a></li>
            <li><a id="load-addcustomer-id">新增客户</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="glyphicon glyphicon-bell"></i>
            <span>VR预约</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
         </span>
          </a>
          <ul class="treeview-menu">
            <li><a id="load-vr-id">我的预约</a></li>
            <li><a id="load-history-id">历史房源</a></li>
          </ul>
        </li>
        <li class="treeview">
          <a href="#"><i class="glyphicon glyphicon-bell"></i>
            <span>工作量详情</span>
            <span class="pull-right-container">
                <i class="fa fa-angle-left pull-right"></i>
         </span>
          </a>
          <ul class="treeview-menu">
            <li><a id="load-emp-id">员工工作量</a></li>
          </ul>
        </li>
      </ul>
      <!-- /.sidebar-menu -->
    </section>

    <!-- /.sidebar -->
  </aside>

  <div class="content-wrapper">






    <!-- Main content -->
    <section id="mainContentId" class="content container-fluid">
      <!--   <section class="content-header">


         </section>-->
    </section>
    <!-- /.content -->
  </div>
  <!-- Content Wrapper. Contains page content -->
  <footer class="main-footer" style="text-align: center; background-color: #3a3427">
    <!-- To the right -->
    <div class="pull-right hidden-xs">

    </div>
    <!-- Default to the left -->

    <strong><font color="white">Copyright &copy; 2020 </font> <a href="#">Company</a>.</strong> <font color="white">达内开发小组</font>

  </footer>
  <!-- /.content-wrapper -->

  <!-- Main Footer -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Create the tabs -->
    <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
      <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
      <!-- Home tab content -->
      <div class="tab-pane active" id="control-sidebar-home-tab">
        <h3 class="control-sidebar-heading">Recent Activity</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <i class="menu-icon fa fa-birthday-cake bg-red"></i>
              <div class="menu-info">
                <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>
                <p>Will be 23 on April 24th</p>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

        <h3 class="control-sidebar-heading">Tasks Progress</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <h4 class="control-sidebar-subheading">
                Custom Template Design
                <span class="pull-right-container">
                    <span class="label label-danger pull-right">70%</span>
                  </span>
              </h4>

              <div class="progress progress-xxs">
                <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

      </div>
      <!-- /.tab-pane -->
      <!-- Stats tab content -->
      <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
      <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-settings-tab">
        <form method="post">
          <h3 class="control-sidebar-heading">General Settings</h3>

          <div class="form-group">
            <label class="control-sidebar-subheading">
              Report panel usage
              <input type="checkbox" class="pull-right" checked>
            </label>

            <p>
              Some information about this general settings option
            </p>
          </div>
          <!-- /.form-group -->
        </form>
      </div>
      <!-- /.tab-pane -->
    </div>
  </aside>

  <!-- Control Sidebar -->
  <div class="control-sidebar-bg"></div>
  <!-- /.control-sidebar -->
  <!-- Add the sidebar's background. This div must be placed
  immediately after the control sidebar -->

</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="myModalLabel">Modal title</h4>
      </div>
      <div class="modal-body">
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary btn-save">Save changes</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!-- ./wrapper -->
<!-- REQUIRED JS SCRIPTS -->
<!-- jQuery 3 -->

<!-- Bootstrap 3.3.7 -->
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="/dist/js/adminlte.min.js"></script>
<script type="text/javascript">
  $(function(){
    doLoadEmployee("#mainContentId","emp/employee_index");
    doAjax("#load-emp-id","emp/employee");
    doAjax("#load-vr-id","vr/vr_list");
    doAjax("#load-test-id","test/house_desc");
    doAjax("#load-house-id","house/house_list");
    doAjax("#load-pubcustomer-id","customer/public_customer");
    doAjax("#load-pricustomer-id","customer/private_customer");
    doAjax("#load-addcustomer-id","customer/customer_add");
    doAjax("#load-testcus-id","customer/customer_desc");
    doAjax("#load-myhouse-id","house/myhouse_list");
    doAjax("#load-pubhouse-id","house/public_house");
    doAjax("#load-addhouse-id","house/add_house");
  })

  function doLoadEmployee(id,url){
    $(id).load(url);
  }
  function doAjax(id,url){
    $(id).click(function(){
      console.log(url);
      $("#mainContentId").load(url);
    })
  }

</script>
</body>

</html>





